package com.danciyixue.boot.dcyx.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.danciyixue.boot.common.base.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 学习任务-任务子项表
 */
@Getter
@Setter
@TableName("dcyx_task_assignment_item")
public class TaskAssignmentItem extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private Long assignmentId;
    private Long studentId;
    private LocalDate targetDate;

    private Long seriesId;
    private Long programId;
    private Long unitId;

    private Integer passScore;

    /**
     * 0=pending,1=done
     */
    private Integer status;
    private Integer score;
    private LocalDateTime completedAt;
    private Integer attemptCount;
}

